# __CMake__ files
set (file_root___cmake__
	CMakeLists.txt
	demo.browser_src_files.cmake
	Demo.Browser_src_files.f4cmake
)

# Android files
set (file_root_android
	include/android_native_app_glue.h
	src/android_native_app_glue.cpp
)

# Demo.Browser files
set (file_root_demo.browser
	include/Demo.Scene.h
	src/Demo.Browser.cpp
)

# lodePNG files
set (file_root_lodepng
	include/lodepng.h
	src/lodepng.cpp
)

# Media files
set (file_root_media
	include/hello_texture_png.h
)

# Scenes files
set (file_root_scenes
	include/Scene.01.HelloWindow.h
	include/Scene.02.HelloTriangle.h
	include/Scene.03.HelloIndexBuffer.h
	include/Scene.04.HelloTexture.h
	include/Scene.05.HelloCube.h
)

# the source groups
source_group("__CMake__"    FILES ${file_root___cmake__})
source_group("Android"      FILES ${file_root_android})
source_group("Demo.Browser" FILES ${file_root_demo.browser})
source_group("lodePNG"      FILES ${file_root_lodepng})
source_group("Media"        FILES ${file_root_media})
source_group("Scenes"       FILES ${file_root_scenes})

# append all files to the file_root
set (file_root
	${file_root___cmake__}
	${file_root_android}
	${file_root_demo.browser}
	${file_root_lodepng}
	${file_root_media}
	${file_root_scenes}
)

# exclude these files if "NOT ANDROID"
if (NOT ANDROID)
#{
	set_source_files_properties (src/android_native_app_glue.cpp PROPERTIES HEADER_FILE_ONLY TRUE)
#}
endif (NOT ANDROID)
